/**
*      author: Y_Yao
*      created: 2024-11-10 21:54:53
**/

#include<bits/stdc++.h>
using namespace std;
using LL = long long;
const LL LLINF = 1e18;
const int INF = 0x3f3f3f3f;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);

    string s;
    cin >> s;
    unordered_set<char> hash;
    hash.insert('a');
    hash.insert('e');
    hash.insert('i');
    hash.insert('o');
    hash.insert('u');
    hash.insert('A');
    hash.insert('E');
    hash.insert('I');
    hash.insert('O');
    hash.insert('U');
    hash.insert('y');
    hash.insert('Y');
    for(int i = 0;i < s.size();i++)
    {
        if(hash.count(s[i]))
        {
            s.erase(i--,1);
        }
        else 
        {
            s.insert(i++,".");
            if(isupper(s[i]))
            {
                s[i] = tolower(s[i]);
            }
        }
    }

    cout << s << endl;
    return 0;
}